package com.syyo.gulimall.auth.feign;

import com.syyo.common.domain.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ author wang
 * @ date: 2021/4/15 18:02
 * @ Description:
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeign {

    @GetMapping("/sms/code")
    ResultVo sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
